glcontext: Add internal get_clipped_version function
authorPablo Correa Gómez <ablocorrea@hotmail.com>
Mon, 30 May 2022 18:14:53 +0000 (20:14 +0200)
committerPablo Correa Gómez <ablocorrea@hotmail.com>
Sat, 4 Jun 2022 18:48:40 +0000 (20:48 +0200)
commit8d175801d73612b1ca49e9fd47c3c0fed17c7552
tree6ffa633ac84f08b3223c059bcbea8ffe25d3e4da
parent6bc3ecbe56fb83a530e017bd34c1bfdc803081dc
glcontext: Add internal get_clipped_version function

It is useful for backends to get user set preferences while
ensuring the correctness of the result, which will be always
greater or equal than the minimum version provided
gdk/gdkglcontext.c
gdk/gdkglcontextprivate.h